/**
 * Copyright (c) 2016-2019 人人开源 All rights reserved.
 *
 * https://www.renren.io
 *
 * 版权所有，侵权必究！
 */

package io.renren;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.core.env.ConfigurableEnvironment;


@SpringBootApplication
public class RenrenApplication {

	private static final Logger Log = LoggerFactory.getLogger(RenrenApplication.class);

	public static void main(String[] args) {
		SpringApplication member = new SpringApplication(RenrenApplication.class);
		ConfigurableEnvironment environment = member.run(args).getEnvironment();
		Log.info("启动成功！！");
		Log.info("网关地址：\thttp://127.0.0.1:{}",environment.getProperty("server.port"));
	}

}